﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonAvgServiceChar.aspx.cs" Inherits="Catering.Catering_Page.richang.PersonAvgServiceChar" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Src="../../UCPanle/UCDDLToolWithDate.ascx" TagName="UCDDLToolWithDate"
    TagPrefix="uc5" %>
<%@ Register src="../../UCPanle/UCDDLToolWithYearOfMonth.ascx" tagname="UCDDLToolWithYearOfMonth" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
         <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
         <script type="text/javascript" src="../Tool_Reporter/js/jquery.min.js"></script>
         <script type="text/javascript">
             function GetDataGroup(title, xtype, data) {
                 var chart;
                 var banzuptions = {
                     chart: { renderTo: 'container', type: 'column' }, //容器ID
                     title: { text: title }, //报表大标题
                     //subtitle: { text: '报表小标题' }, //报表小标题
                     xAxis: {//x轴
                         type: 'sdf',
                         categories: xtype,
                         gridLineWidth: 0,
                         labels: { align: 'right',
                             rotation: -45,
                             style: {
                                 fontSize: '13px',
                                 fontFamily: '宋体,Verdana'
                             }
                         }
                     },
                     yAxis: [{ // left y axis
                         title: {
                             text: null
                         },
                         labels: {
                             formatter: function () {
                                 return Highcharts.numberFormat(this.value, 0);
                             }
                         },
                         showFirstLabel: false
                     },
                { // right y axis
                    linkedTo: 0,
                    gridLineWidth: 1,
                    opposite: true,
                    title: { text: null },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: true
                }],
                     tooltip: {
                         formatter: function () {
                             return '<b>' + this.x + '：</b><br/>' +
                        this.series.name + '：' + this.y;
                         }
                     },
                     series: []
                 };
                 for (var i = 2; i < arguments.length; i++) {
                     banzuptions.series[i - 2] = arguments[i];
                 }
                 chart = new Highcharts.Chart(banzuptions);
             }
    </script>
</head>
<body>
    
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <script type="text/javascript" src="../Tool_Reporter/js/highcharts.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/modules/exporting.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/highslide-full.min.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/highslide.config.js" charset="utf-8"></script>
        <div class="xxk_button1">
        <ul>
            <li id="li2_1" class="li_out"><a href="ServiceCollect.aspx">服务比例汇总</a></li>
            <li id="li2_2" class="li_out"><a href="HallYearCollect.aspx" >全年服务总表</a></li>
            <li id="li2_3" class="li_over"><a href="PersonAvgServiceChar.aspx">人均服务比例图</a></li>
        </ul>
    </div>
        <div class="Center_Content" id="div2_1" style="display: block">
        <div class="div_0207 left_width500" style="height:34px; width:998px;">
            <table align="left" width="100%" style="height:34px" border="0" cellspacing="0" cellpadding="0" class="ckgl_table">
                <thead>
                    <tr>
                        <td height="34" align="left">
                            <uc1:UCDDLToolWithYearOfMonth ID="UCDDLToolWithYearOfMonth1" runat="server" />
                        </td>
                        <td align="right">
                            <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">开始统计</asp:LinkButton>
                        </td>
                        <td width="10"></td>
                    </tr>
                </thead>
            </table>
        </div>
        <div id="container" style="width:1000px; height: 400px; margin: 0 auto"></div>
        </div>
    <div class="footer">
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
    </div>
    </form>
</body>
</html>